﻿using NETCore.Encrypt;

namespace Batman.Core.Utilities
{
    public class PasswordHashUtil
    {
        /// <summary>
        /// 加密密码
        /// </summary>
        /// <param name="password"></param>
        /// <returns></returns>
        public static string HashPassword(string password)
        {
            return EncryptProvider.Sha256(password);
        }
    }
}
